package com.his.his_system.controller.VisitController.app.bean;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class AliyunReq {

    @JsonProperty("headers")
    private HeadersDTO headers;
    @JsonProperty("body")
    private BodyDTO body;

    @NoArgsConstructor
    @Data
    public static class HeadersDTO {
        @JsonProperty("Keep-Alive")
        private String keepAlive;
        @JsonProperty("Access-Control-Expose-Headers")
        private String accessControlExposeHeaders;
        @JsonProperty("Access-Control-Allow-Origin")
        private String accessControlAllowOrigin;
        @JsonProperty("ETag")
        private String eTag;
        @JsonProperty("x-acs-request-id")
        private String xacsrequestid;
        @JsonProperty("Connection")
        private String connection;
        @JsonProperty("Content-Length")
        private String contentLength;
        @JsonProperty("Date")
        private String date;
        @JsonProperty("Content-Type")
        private String contentType;
        @JsonProperty("x-acs-trace-id")
        private String xacstraceid;
    }

    @NoArgsConstructor
    @Data
    public static class BodyDTO {
        @JsonProperty("bizId")
        private String bizId;
        @JsonProperty("code")
        private String code;
        @JsonProperty("message")
        private String message;
        @JsonProperty("requestId")
        private String requestId;
    }
}

